package com.zhou.service.impl;


import com.zhou.entity.vo.Answers;
import com.zhou.mapper.AnswersMapper;
import com.zhou.service.AnswersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AnswersServiceImpl implements AnswersService {

    @Autowired
    private AnswersMapper answersMapper;

    @Override
    public List<Answers> getAllPhones() {
        return answersMapper.getAllPhones();
    }

    @Override
    public void saveAllPhones(List<Answers> list) {
        answersMapper.saveAllPhones(list);
    }
}

